package cn.cloudreal.cbms.vo;

import java.util.List;

/**
 * 用户信息
 * 
 * @author gao_xuejiao
 */
public class UserInfo
{

    private Integer id; // 自增id
    private String userCode; // 用户编码
    private String userName; // 用户名称
    private String password; // 密码
    private String telephoneNum; // 号码
    private String blongOrgCode; // 组织id
    private String blongOrgName; // 组织名称
    private String email; // email
    private String roleCode; // 角色编号
    private String roleName; // 角色名称
    private String parentOrgCode; // 父节点
    private String usercity;// 地市
    private String cityName;// 地市中文名称
    private List<Purview> purviewList; // 权限类表
    private Role userRole; // 角色对象
    private Organiza organiza; // 组织架构列表

    /**
     * 无参数构造
     */
    public UserInfo()
    {
    }

    public UserInfo(Integer id,
            String userCode,
            String userName,
            String password,
            String telephoneNum,
            String blongOrgCode,
            String blongOrgName,
            String email,
            String roleCode,
            String roleName,
            String parentOrgCode,
            String usercity,
            List<Purview> purviewList,
            Role userRole,
            Organiza organiza,
            String cityName)
    {
        this.id = id;
        this.userCode = userCode;
        this.userName = userName;
        this.password = password;
        this.telephoneNum = telephoneNum;
        this.blongOrgCode = blongOrgCode;
        this.blongOrgName = blongOrgName;
        this.email = email;
        this.roleCode = roleCode;
        this.roleName = roleName;
        this.parentOrgCode = parentOrgCode;
        this.usercity = usercity;
        this.purviewList = purviewList;
        this.userRole = userRole;
        this.organiza = organiza;
        this.cityName = cityName;
    }

    public String getCityName()
    {
        return cityName;
    }

    public void setCityName(String cityName)
    {
        this.cityName = cityName;
    }

    public Role getUserRole()
    {
        return userRole;
    }

    public void setUserRole(Role userRole)
    {
        this.userRole = userRole;
    }

    public Organiza getOrganiza()
    {
        return organiza;
    }

    public void setOrganiza(Organiza organiza)
    {
        this.organiza = organiza;
    }

    public List<Purview> getPurviewList()
    {
        return purviewList;
    }

    public void setPurviewList(List<Purview> purviewList)
    {
        this.purviewList = purviewList;
    }

    public Integer getId()
    {
        return id;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public String getUserCode()
    {
        return userCode;
    }

    public void setUserCode(String userCode)
    {
        this.userCode = userCode;
    }

    public String getUserName()
    {
        return userName;
    }

    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getPassword()
    {
        return password;
    }

    public void setPassword(String password)
    {
        this.password = password;
    }

    public String getTelephoneNum()
    {
        return telephoneNum;
    }

    public void setTelephoneNum(String telephoneNum)
    {
        this.telephoneNum = telephoneNum;
    }

    public String getBlongOrgCode()
    {
        return blongOrgCode;
    }

    public void setBlongOrgCode(String blongOrgCode)
    {
        this.blongOrgCode = blongOrgCode;
    }

    public String getBlongOrgName()
    {
        return blongOrgName;
    }

    public void setBlongOrgName(String blongOrgName)
    {
        this.blongOrgName = blongOrgName;
    }

    public String getEmail()
    {
        return email;
    }

    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getRoleCode()
    {
        return roleCode;
    }

    public void setRoleCode(String roleCode)
    {
        this.roleCode = roleCode;
    }

    public String getRoleName()
    {
        return roleName;
    }

    public void setRoleName(String roleName)
    {
        this.roleName = roleName;
    }

    public String getParentOrgCode()
    {
        return parentOrgCode;
    }

    public void setParentOrgCode(String parentOrgCode)
    {
        this.parentOrgCode = parentOrgCode;
    }

    public String getUsercity()
    {
        return usercity;
    }

    public void setUsercity(String usercity)
    {
        this.usercity = usercity;
    }

}
